package name.bingo.bing.concurrent.red.packet.service;

import name.bingo.bing.concurrent.red.packet.model.TUserRedPacket;
import name.bingo.common.model.Paging;
import name.bingo.common.model.Response;

import java.util.List;
import java.util.Map;

/**
 * 璇绘湇鍔℃帴鍙�
 *
 * @author [ your email ]
 * @date 2019-03-22 13:40:22
 * Created by CodeGen .
 */
public interface TUserRedPacketReadService {

    /**
     * 鏌ヨ
     *
     * @param id
     * @return tUserRedPacket
     */
    Response<TUserRedPacket> findById(Long id);

    /**
     * 鍒嗛〉
     *
     * @param pageNo
     * @param pageSize
     * @param criteria
     * @return Paging<TUserRedPacket>
     */
    Response<Paging<TUserRedPacket>> paging(Integer pageNo, Integer pageSize, Map<String, Object> criteria);

    /**
     * 鍒楄〃
     *
     * @param criteria
     * @return List<TUserRedPacket>
     */
    Response<List<TUserRedPacket>> list(Map<String, Object> criteria);
}
